package com.example.yuejian.yuejian.service;

import com.example.yuejian.yuejian.bean.Collection;
import com.example.yuejian.yuejian.bean.IsFollow;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/9/27.
 */

public interface CollectService {
    //关注收藏
    @GET("collection")
    Call<Collection> followmaster(
            @Query("users_id")int usersid,
            @Query("type_id")int typeid,
            @Query("collection_id")int collectionid
            );
    //是否关注了
    @GET("isFollow")
    Call<IsFollow> isFollow(
            @Query("users_id")String usersid,
            @Query("type_id")int typeid,
            @Query("collection_id")int collectionid
    );
}
